package com.jiyun.vo.day14;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author yangYingJie
 * @Date 2023/8/11 11：25
 **/
@Data
@ToString
public class MemberDto {
    private Integer pageNum=1;
    private Integer pageSize=8;
    private String name;
    private Integer status;
    private Integer stats;
    private Integer roleId;
    private Integer teamId;
    private Integer rivalId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date start;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date end;
}
